package com.htdata.iiot.api.tsdb.pojo;

import java.io.Serializable;

/**
 * represent a metric for sensor to send
 * @author sunmya
 *
 */
public class Metric implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5360005241424798132L;
	
	private String name;
	private Double value;
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public Double getValue() {
		return value;
	}
	
	public void setValue(Double value) {
		this.value = value;
	}
	
	public Metric() {
		
	}
	
	public Metric(String name, double value) {
		this.name = name;
		this.value = value;
	}

}
